package org.example.demo15_command.demo2;

public class ConnectionList {

    public void add(String name, String phoneNumber) {
        System.out.println("Adding contact: Name - " + name + ", Phone Number - " + phoneNumber);
    }

    public void delete(String name) {
        System.out.println("Deleting contact: Name - " + name);
    }

    public void check(String name) {
        System.out.println("Viewing contact information for: Name - " + name);
    }
}
